[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
odyfontsize, footerdistance=\bodyfontsize] \definehighlight [sesamedot] %\showframe %\showgrid %\showboxes %\showmakeup % [glyph,fontkern] \starttext \starttitle [title={ごん狐}] [author={新美南吉},source={https://www.aozora.gr.jp/cards/000121/files/628_14895.html}] \startsubject [title={一}] これは、\ruby

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Hans Hagen via ntg-context
ntents, using what is recommended at https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, it does not work. Here's a MWE: \definelistextra[page][before=\page] \starttext \starttitle[title={Table of contents}] \placecontent[extras={2=page}] \stoptitle \startchapter[title=

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Andres Conrado Montoya
d at > https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break > > However, it does not work. Here's a MWE: > > \definelistextra[page][before=\page] > \starttext > \starttitle[title={Table of contents}] > \placecontent[extras={2=page}] > \stoptitle > \startcha

[NTG-context] Not getting a page break in the ToC

2023-08-21 Thread Andres Conrado Montoya
I'm trying to force a page break in a table of contents, using what is recommended at https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, it does not work. Here's a MWE: \definelistextra[page][before=\page] \starttext \starttitle[title={Table of contents}] \placecontent

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
pear. On the other >> > hand, the 12 chapters are present. >> >> \startproduct[terminale-manual] >> >> \startfrontmatter >> \starttitle[title=Table des matières] >> \placelist >> [cha

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
I don't see why the table of contents does not appear. On the other > > hand, the 12 chapters are present. > > \startproduct[terminale-manual] > > \startfrontmatter > \starttitle[title=Table des matières] > \placelist >

Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context
On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote: Hi, I don't see why the table of contents does not appear. On the other hand, the 12 chapters are present. \startproduct[terminale-manual] \startfrontmatter \starttitle[title=Table des matières] \placelist

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
] \setuplist [subsection] [margin=2.75em, width=2.25em, distance=\spaceamount] \starttitle[title=Table des matières] \placelist [chapter,section,subsection,subsubsection] [criterium=all, interaction=all, alternative=c

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-31 Thread Willi Egger via ntg-context
the chapter >> number only. >> >> How to get the numbering right? >> >> Kind regards >> Willi >> >> The following example shows what happens: >> >> \useMPlibrary[dum] >> >> \definefloat[Afigure][Afigures][figures] >> \def

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Alan Braslau via ntg-context
> [placehead=yes, > page=yes] > > \setuphead > [chapter] > [page=no] > > \starttext > > \starttitle[title=List of figures] > \startsubject[title=Figures (predefined figureenvironment)] > \placelistoffigures > \stopsubject > > \startsub

[NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
=yes] \setuphead [chapter] [page=no] \starttext \starttitle[title=List of figures] \startsubject[title=Figures (predefined figureenvironment)] \placelistoffigures \stopsubject \startsubject[title=Figures A] \placelistofAfigures \stopsubject \startsubject

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Willi Egger via ntg-context
gt;> On 26 Mar 2023, at 12:51, Henning Hraban Ramm via ntg-context >>> wrote: >>> >>> Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: >>>> Good evening! >>>> I have a setup in which I need to send info to the TOC: >>>> C

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Hans Hagen via ntg-context
, at 12:51, Henning Hraban Ramm via ntg-context wrote: Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Willi Egger via ntg-context
wrote: > > Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: >> Good evening! >> I have a setup in which I need to send info to the TOC: >> Consider the following example: >> \starttext >> \starttitle[title=Contents] >> \placelist[chapter][cri

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Henning Hraban Ramm via ntg-context
Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all] \stoptitle \startchapter[title=Mychapter] \input

[NTG-context] How to prefix the list of figures with part number?

2023-03-25 Thread Willi Egger via ntg-context
Willi \setuplist[figures][pageprefixsegments=part:chapter] % Pageprefix? \setuphead[part][placehead=yes] \starttext \startpart[title=part one] \starttitle[title=Contents] \placelist[part,chapter][criterium=all] \startsubject[title=Figures] \placelistoffigures[criterium=all

[NTG-context] \writetolist not writing the number to the TOC

2023-03-25 Thread Willi Egger via ntg-context
Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all] \stoptitle \startchapter[title=Mychapter] \input knuth \startsubject[title=Subject will be in TOC

Re: [NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
] > > > \setupbodyfont[bonum,rm,12pt] > \showframe > > \starttext > \startchapter[title={Introduction}] > This is the chapter for introduction. > \stopchapter > > \startchapter[title={Function}] > Now, we study the function. > \stopchapter > >

[NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
ion. \stopchapter \startchapter[title={Function}] Now, we study the function. \stopchapter \starttitle[title={References}] \startitemize[n] \item first \item second \item third \stopitemize \stoptitle \stoptext___ If y

Re: [NTG-context] Custom Table of Contents

2022-01-20 Thread Hans Hagen via ntg-context
\stopsetups \starttext \starttitle[title={Tabulated Table of Contents}] \placelist[chapter] \blank[2*big] \determinelistcharacteristics[chapter] \startluacode local result = structures.lists.result context.bTABLE() for i=1,#result do

Re: [NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread fv leung via ntg-context
can I also put the value of \starttitle in the header. > > In this mwe the \starttitle command does not modify the header. > > Is it possible to do something like: > > \getmarking[chapter or title] > > I cannot include > \setmarking[chapter]{title headline} > righ

[NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread juh via ntg-context
Hi all, I know how to put the current chapter in the header. But how can I also put the value of \starttitle in the header. In this mwe the \starttitle command does not modify the header. Is it possible to do something like: \getmarking[chapter or title] I cannot include \setmarking

Re: [NTG-context] new upload

2021-12-01 Thread Hans Hagen via ntg-context
:3={infinitamente}] \setregisterentry [Russian] [entries:1={сборник}, entries:2={n. masc.}, entries:3={colección, compilación, compendio}] \setregisterentry [Russian] [entries:1={неравенство}, entries:2={n. neutr.}, entries:3={desigualdad}] \starttext \starttitle[title=Ruso-español

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
. masc., meaning={colección, compilación, compendio}] \Ruso [word=неравенство, category=n. neutr., meaning=desigualdad] \starttitle[title=Ruso-español] \placeRussian \stoptitle \stoptext ___ I

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
] \Ruso     [word=бесконечно,      category=adv.,      meaning=infinitamente] \Ruso     [word=сборник,      category=n. masc.,      meaning={colección, compilación, compendio}] \Ruso     [word=неравенство,      category=n. neutr.,      meaning=desigualdad] \starttext \starttitle[title=Ruso

[NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Jairo A. del Rio via ntg-context
, category=n. masc., meaning={colección, compilación, compendio}] \Ruso [word=неравенство, category=n. neutr., meaning=desigualdad] \starttext \starttitle[title=Ruso-español] \placeRussian \stoptitle \stoptitle \stoptext Reading the manuals, I find that the publication mechanism

Re: [NTG-context] Compilation error with the new version of lmtx

2021-10-17 Thread Hans Hagen via ntg-context
       [section]        [margin=1em,         width=1.75em]     \setuplist        [subsection]        [margin=2.75em,         width=2em,         distance=\spaceamount]     \starttitle[title=Table des matières]          \placelist            [chapter,section,subsection]            [criterium=all

[NTG-context] Compilation error with the new version of lmtx

2021-10-16 Thread Fabrice Couvreur via ntg-context
] [margin=2.75em, width=2em, distance=\spaceamount] \starttitle[title=Table des matières] \placelist [chapter,section,subsection] [criterium=all, interaction=all, alternative=c] \stoptitle \stopfrontmatter

Re: [NTG-context] Missing symb-imp-was.mkiv ?

2021-07-10 Thread Hans Hagen
all combinations (todo) % % % % % \def\APLnot #1{\wasy@over{\sim }{#1}} % % \def\APLcirc#1{\wasy@over{\circ}{#1}} % % \def\APLvert#1{\wasy@over{\vert}{#1}} % % % % \stopsymbolset \protect \continueifinputfile{symb-imp-was.mkiv} \usemodule[article-basic] \starttext \starttitle[title=Regular] \st

[NTG-context] Spacing in s-pre-50 (or better alternatives)

2020-12-08 Thread Jairo A. del Rio
Hi everyone. I've tried using s-pre-50 for a series of "Beamer-like" presentations. An example: \usemodule[s-pre-50] \starttext \StartSteps \starttitle[title=Random speak party] \FlushStep \input jojomayer \FlushStep Cows and lovebirds are nice. \FlushStep Food smells weird afte

[NTG-context] solution to suppressing header in ToC

2020-10-06 Thread jbf
, but did want page numbers still. A successful solution is: \starttochead[title={Contents}] \setupheader[state=stop]   \placecombinedlist[content] \stoptochead and then, after, the first full text page, to put: \starttitle[title={Acknowledgments}] \setupheader[state=empty] If I had state

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-07 Thread jbf
] \setuplabeltext   [en]   [chapter=Chapter ] \setuplist   [foreword]   [label=foreword,   alternative=command,    command=\TitleListCommand] \setuplabeltext   [en]   [title=Foreword ] \starttext \completecontent \starttitle [title={Foreword}] [author={Author Name}] \unknown \stoptitle

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-06 Thread Jan Willem Flamma
makeup \stopcomponent end component  begin component\startcomponent fm-tableofcontents \product product \starttitle [title=Table of Contents] \placecontent \stoptitle \stopcomponent end component  ___ If your qu

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread jbf
. \starttitle[title={\ss\bf Foreword}][author={A. Uthor}] But that does the same - both Foreword and A. Uthor end up bold. And besides, I also want to style the ToC independently of the heads if I can. The wiki and various manuals do offer various tips on modifying the ToC, but I cannot find anything

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread Wolfgang Schuster
' name are bold). I thought perhaps I could control it from within the document, e.g. \starttitle[title={\ss\bf Foreword}][author={A. Uthor}] But that does the same - both Foreword and A. Uthor end up bold. And besides, I also want to style the ToC independently of the heads if I can. The wiki

[NTG-context] styling individual parts of ToC entry

2020-09-04 Thread jbf
control it from within the document, e.g. \starttitle[title={\ss\bf Foreword}][author={A. Uthor}] But that does the same - both Foreword and A. Uthor end up bold. And besides, I also want to style the ToC independently of the heads if I can. The wiki and various manuals do offer various tips

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Wolfgang Schuster
component begin component \startcomponent fm-tableofcontents \product product \starttitle [title=Table of Contents] \placecontent \stoptitle \stopcomponent end component ___ If your question is of interest

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Jan Willem Flamma
ponent currentcomponent \product product \setupbackgrounds   [leftpage]   [setups=pagenumber:left]\setupbackgrounds   [rightpage]   [setups=pagenumber:right] % This is where I want the roman numbering to start\setuppagenumber[number=5] \starttitle[title=Table of Contents]\placec

[NTG-context] author in ToC and other design complications

2020-09-03 Thread jbf
title     Author's name   10 I need to add that the current setup to obtain Chapter Two is with \setuplabeltext[chapter={{Chapter },{:1820-1880}}] which gives me Chapter Two:1820-1880 I had thought that maybe I could get the author with something like \starttitle

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread jbf
currentcomponent \product product \setupbackgrounds [leftpage] [setups=pagenumber:left] \setupbackgrounds [rightpage] [setups=pagenumber:right] % This is where I want the roman numbering to start \setuppagenumber[number=5] \starttitle[title=Table of Contents] \placecontent \stoptitle \stopcomponent

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread Jan Willem Flamma
]\setupbackgrounds   [rightpage]   [setups=pagenumber:right] % This is where I want the roman numbering to start\setuppagenumber[number=5] \starttitle[title=Table of Contents]\placecontent\stoptitle \stopcomponent  From: jbfSent: Thursday, 3 September 2020 06:05To: mailing list

Re: [NTG-context] \title with extra content in toc

2020-08-11 Thread Mikael Sundqvist
I do not recommend against the start/stop variant, but in this case I think you can also do \chapter[title=..., list=..., bookmark=...] /Mikael Den ons 12 aug. 2020 05:46jbf skrev: > That is clear enough and works (of course!) and reminds me that I'm > better off using the \star

Re: [NTG-context] \title with extra content in toc

2020-08-11 Thread jbf
That is clear enough and works (of course!) and reminds me that I'm better off using the \starttitle...\stoptitle format than just \title as I have been. J On 12/8/20 1:23 pm, Aditya Mahajan wrote: [   title={Title of chapter},   list={What appears in TOC},   bookmark={What

[NTG-context] Wrong counting of lines and paragraphs

2020-08-07 Thread Marcus Vinicius Mesquita
] \setuphead[subject][alternative=text,style=bolditalic] \setuphead[subsubject][alternative=text,style=\ss] \setuphead[subsubsubject][alternative=text,style=\ss\it] \startbuffer[waltham] \input waltham \stopbuffer \starttext \startlinenumbering \starttitle[title={Waltham}] \dorecurse{4}{\getbuffer

[NTG-context] Pagenumbering with \setupcounter[userpagenumber]

2020-07-29 Thread Willi Egger
\startalignment[middle] {TRANSLATED BY ALEXANDER TEIXEIRA DE MATTOS, F.Z.S.} \stopalignment \stopstandardmakeup \starttitle[title={TRANSLATOR'S NOTE.}] \input ward \stoptitle \setupcounter[userpagenumber][state=start,number=7] \starttitle[title=Contents] \placelist

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Garulfo
for ConTeXt's community to use it as a "new" or an "updated" french interface, I may try to produce a 40~50 pages documentation for the basics commands (during 2020 S2): • \starttext • \startchapter, \startsection, \starttitle, \startsubject, \setuphead, \completecont

Re: [NTG-context] Chapter numbering that does not follow a regular pattern

2020-07-13 Thread Julian Fox
er title with number > > > > second chapter title unnumbered > > > > 2 Second chapter title with number > > > > 3 Third chapter title with number > > Use \title (or \starttitle[title={}]) for unnumbered and \chapter > (\startchaper) for numbered. > > If y

Re: [NTG-context] Chapter numbering that does not follow a regular pattern

2020-07-13 Thread Henning Hraban Ramm
ed > > 2 Second chapter title with number > > 3 Third chapter title with number Use \title (or \starttitle[title={}]) for unnumbered and \chapter (\startchaper) for numbered. If you need the unnumbered chapters in your ToC, you must add them like \setupcombinedlist[content]

Re: [NTG-context] Anyone managed a tabulated table of contents

2020-05-25 Thread Hans Hagen
} } \framed [width=2cm,align=flushright,frame=off,offset=0pt] { page: \currentlistentrypagenumber } } \stopsetups \starttext \starttitle[title={Tabulated Table of Contents}] \placelist[chapter] \stoptitle \dorecurse {3} { \startchapter[title=Covid

Re: [NTG-context] Repeat backgrounds on slides

2020-02-13 Thread Wolfgang Schuster
bg:hs2020-mond] > [x=0mm, y=0mm] > {\externalfigure[background.jpg][height=\paperwidth]} > > Ususally I call the background after a head command like \starttitle or when I > create slides like this > > \startslide[title={foobar}] > \setupbackgrounds[page][background=

[NTG-context] Repeat backgrounds on slides

2020-02-13 Thread juh
call the background after a head command like \starttitle or when I create slides like this \startslide[title={foobar}] \setupbackgrounds[page][background=bg:hs2020-mond] ... \stopslide The problem is that I cannot call the background on another slide. It seems as if the layer is gone after

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
footer=0.5in, >> bottom=0.25in, >> backspace=1.1in] >> \definepapersize [octavo] >> [width=6in, >> height=9in] >> \setuppagenumbering [location=] >> \set

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
=] \setuppapersize  [octavo] \setupbodyfont   [Termes,10pt] \starttext \starttitle  [title={N aa aaa }] \startsubject    [title={B}]   Faaa aaa {\em Naa Yaaa T} aa C 22, 9990 (   999): \startnarrow [MidOneEm

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
[octavo] [width=6in,   height=9in] \setuppagenumbering  [location=] \setuppapersize  [octavo] \setupbodyfont   [Termes,10pt] \starttext \starttitle  [title={N aa aaa }] \startsubject    [title={B

Re: [NTG-context] background color, was: CMYK Color profile

2019-06-02 Thread Benjamin Koppe
gt; \definelayout [3] [thirdandfourth] > \definelayout [4] [thirdandfourth] > \definelayout [5] [fifthandsixth] > \definelayout [6] [fifthandsixth] > > > %% Some setups > \setupmakeup [doublesided=no] > \setuptolerance [verytolerant] > > > %% We want to see

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
! \showframe \setupbackgrounds[paper][background=color,backgroundcolor=blue] \starttext \starttitle[title={First page}] \input lorem \stoptitle \starttitle[title={Second page}] \input lorem \stoptitle \starttitle[title={Third page}] \input lorem \stoptitle \starttitle[title

[NTG-context] DIN lang folder with crop marks

2019-04-10 Thread Benjamin Koppe
[6] [fifthandsixth] %% Some setups \setupmakeup [doublesided=no] \setupbodyfont [mainface,10pt] \setuptolerance [verytolerant] \setuplayout[marking=color] %% We want to see page and layout borders. %% COMMENT THIS OUT BEFORE YOU PRINT! \showframe \starttext \starttitle[title={First page

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-16 Thread Hans Hagen
Aditya, Am 12.01.19 um 20:11 schrieb Aditya Mahajan: On Sat, 12 Jan 2019, Jan U. Hasecke wrote: Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just before a new chapter. I would like to manipulate

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Jeong Dal
anipulating the left blank page when chapter starts on >>> the right page (Jan U. Hasecke) >>> >>> >>> -- >>> >>> Message: 1 >>> Date: Sun, 13 Jan 2019 16:56:4

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Hans Hagen
ge when chapter starts on the right page Message-ID: Content-Type: text/plain; charset=utf-8; format=flowed Jan U. Hasecke schrieb am 12.01.19 um 22:08: Hi Aditya, Am 12.01.19 um 20:11 schrieb Aditya Mahajan: On Sat, 12 Jan 2019, Jan U. Hasecke wrote: Hi all, in my document \startchapte

[NTG-context] MetaFun: how to check the number of arguments

2019-01-14 Thread Jeong Dal
n > chapter starts on the right page > Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed > > Jan U. Hasecke schrieb am 12.01.19 um 22:08: >> Hi Aditya, >> >> Am 12.01.19 um 20:11 schrieb Aditya Mahajan: >>> On Sat, 12 Ja

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-13 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 12.01.19 um 22:08: Hi Aditya, Am 12.01.19 um 20:11 schrieb Aditya Mahajan: On Sat, 12 Jan 2019, Jan U. Hasecke wrote: Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Rik Kabel
On 1/12/2019 16:08, Jan U. Hasecke wrote: Hi Aditya, Am 12.01.19 um 20:11 schrieb Aditya Mahajan: On Sat, 12 Jan 2019, Jan U. Hasecke wrote: Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Jan U. Hasecke
Hi Aditya, Am 12.01.19 um 20:11 schrieb Aditya Mahajan: > On Sat, 12 Jan 2019, Jan U. Hasecke wrote: > >> Hi all, >> >> in my document \startchapter and \starttitle starts a new chapter on the >> right (odd) page. So sometimes, there is a blank even page just be

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Aditya Mahajan
On Sat, 12 Jan 2019, Jan U. Hasecke wrote: Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just before a new chapter. I would like to manipulate this blank even page. There are several things I would

[NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Jan U. Hasecke
Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just before a new chapter. I would like to manipulate this blank even page. There are several things I would like to do, eg. having no headers and footers

[NTG-context] align in setuphead

2018-12-05 Thread Jan U. Hasecke
Hi all, why aligns left to right and right to left in this example? \setuphead [title] [align=left] \starttext \starttitle[title=Test] \stoptitle \stoptext TIA juh ___ If your question is of interest to others

[NTG-context] Why do I have to enclose \rawcounter in braces in this MWE ?

2018-09-25 Thread Damien Thiriet
Hello list, Why do I have to enclose \rawcountervalue in braces to get this MWE compiled ? \definecounter[fiche][way=bytext] \setupheadertexts[Fiche méthodologique N.{\rawcountervalue[fiche]} ][][][] \starttext \setcounter[fiche][2] \starttitle[title={Un essai

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-24 Thread Jan U. Hasecke
frame=off,background=color, backgroundcolor=hs-dunkelblau,width=102mm, height=303mm]{}} \showframe \starttext \setupbackgrounds[page][background=blau] \startstandardmakeup \externalfigure [../bilder/example.png] [width=\textwidth] \blank[5*big] \externalfigure [../bilder/logo.svg] [width=\textwidth] \stops

Re: [NTG-context] Some questions about the presentation of a book

2018-07-21 Thread Fabrice Couvreur
[structure] > [n, R, n, n, n] > > \definestructureconversionset > [digits] > [n, n, n, n, n] > > \setupheads[sectionconversionset=structure] > > \setuplist[chapter][style=bold,width=5mm] > > \starttext > > \starttitle[title={\bf So

[NTG-context] Some questions about the presentation of a book

2018-07-20 Thread Fabrice Couvreur
n, R, n, n, n] \definestructureconversionset [digits] [n, n, n, n, n] \setupheads[sectionconversionset=structure] \setuplist[chapter][style=bold,width=5mm] \starttext \starttitle[title={\bf Sommaire}] \placelist [chapter,section,subsection] [criterium=all, alternative=c]

[NTG-context] Problem of compiling a file with Emacs

2018-07-19 Thread Fabrice Couvreur
phead [chapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\processMPheadnumber, ] \unexpanded\def\HeadTitle#1#2% {\framed [frame=off, bottomframe=on, width=broad, align={broad,nothyphenated,left}] {#1\blank[nowhite]#2}} \starttext \starttit

Re: [NTG-context] First example in xml-mkiv.pdf

2018-06-06 Thread Keith McKay
o:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:document \starttitle[title={Contents}] \placelist[chapter] \stoptitle \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:demo:section \startchapter[title=\xmlfirst{#1}{/title}] \xmlfirst{#1}{/content} \stopcha

Re: [NTG-context] First example in xml-mkiv.pdf

2018-06-06 Thread Hans Hagen
pasted from pages 5 and 6 of xml-mkiv.pdf: \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|section|p|itemize|item}{xml:demo:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:document \starttitle[title={Contents}] \placelist[chapter] \sto

[NTG-context] First example in xml-mkiv.pdf

2018-06-05 Thread Keith McKay
df: \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|section|p|itemize|item}{xml:demo:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:document \starttitle[title={Contents}] \placelist[chapter] \stoptitle \xmlflush{#1} \stopxmlset

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
below: Line 13 makes the TOC disappear entirely: == \setuphead[subject] [incrementnumber=yes, % keep track of the number number=no]% but don't show it \starttext % Approach I \starttitle[title={Table of Contents},reference={}] \start \setuplist[subject,section,subs

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
e? Can it be streamlined further? Best wishes Idris == \setuphead[subject]   [incrementnumber=yes,  % keep track of the number    number=no]    % but don't show it \starttext % Approach I \starttitle[title={Table of Contents},reference={}] \start \setuplist[subject,s

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
Idris == \setuphead[subject] [incrementnumber=yes, % keep track of the number number=no]% but don't show it \starttext % Approach I \starttitle[title={Table of Contents},reference={}] \start \setuplist[subject,section,subsection,subsubsection] [alternative=c,style=bold] \setupcombin

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
standard practice for MKIV? See below and attached scratch. Toggle the two \start|stoptext environments. Best wishes Idris == \setuphead[subject]   [incrementnumber=yes,  % keep track of the number    number=no]    % but don't show it \starttext % Approach I \starttitle

[NTG-context] Table of contents: style and subject

2018-03-03 Thread Idris Samawi Hamid ادريس سماوي حامد
show it \starttext % Approach I \starttitle[title={Table of Contents},reference={}] \start \setupcombinedlist[content] [list={subject,section,subsection,subsubsection},alternative=c,style=bold] \setupinterlinespace[line=1.4ex] \placecontent \stop \stoptitle \page \startsection[title={Section One

Re: [NTG-context] Passing two arguments from Lua to Context

2018-02-13 Thread Hans Hagen
acode you need to use context["goto"]("Index",{"ref:index"}) -- this does not work because "goto" is a reserved lua word you can't say foo.if or foo.end either \input ward.tex \stopchapter \starttitle[title={Index}] \startluacode local s,t = &

Re: [NTG-context] Passing two arguments from Lua to Context

2018-02-13 Thread Otared Kavian
de context.index("Knuth") context.index("Ward") context("Read Knuth and see also the ") local s,t = "Index","ref:index" context.MyGoTo({s},{t}) -- context.goto("Index",{"ref:index"}) --

[NTG-context] Paasing two arguments from Lua to Context

2018-02-13 Thread Otared Kavian
quot; -- context("\\goto{s}[t]") -- this does not work -- context.goto({"Index"},{"ref:index"}) -- this does not work context("\\goto{Index}[ref:index]") \stopluacode \input ward.tex \stopchapter \starttitle[title={Index}] % one could

Re: [NTG-context] To \getbuffer or to \input: which one is it better?

2018-02-11 Thread Hans Hagen
\EQ \getvariable{talk}{day}, at \getvariable{talk}{time} \NC\NR \HL \stoptabulate } } \starttext \starttitle[title={Monday talks}] \setvariable{talk}{set}{\talksofday{Monday}} \getbuffer[talkdata] \stoptitle \page \starttitle[title={Tuesday

[NTG-context] uservariables in heads and lists

2018-01-14 Thread Henning Hraban Ramm
#2} {\inouter{\structureuservariable{subtitle}}} } \setuphead[chapter][ page=right, command=\ChapterCmd, ] \starttext %\showlayout \starttitle[title={Content}][subtitle={}] %\placelist[chapter][criterium=all] \stoptitle \startchapter [title=My Title,][% is this necessary? subti

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
end or use \startID ... \stopID     \setupindenting[yes,small]     \definelabel   [ID][     %\defineenumeration[ID][        text=,        after=,        before=,        headcolor=red,        alternative=inright,       ]     \starttext     \starttitle[title={Label testing}]     \startsubject

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Hans Hagen
    \setupindenting[yes,small]     \definelabel   [ID][     %\defineenumeration[ID][        text=,        after=,        before=,        headcolor=red,        alternative=inright,       ]     \starttext     \starttitle[title={Label testing}]     \startsubject[title={Problems with \tex{definelabel

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
]     \definelabel   [ID][     %\defineenumeration[ID][        text=,        after=,        before=,        headcolor=red,        alternative=inright,       ]     \starttext     \starttitle[title={Label testing}]     \startsubject[title={Problems with \tex{definelabel}}]       This is a test. It is only a test

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Hans Hagen
][    text=,    after=,    before=,    headcolor=red,    alternative=inright,   ] \starttext \starttitle[title={Label testing}] \startsubject[title={Problems with \tex{definelabel}}]   This is a test. It is only a test.   \ID[id1]This paragraph should

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
in a footnote. \defineenumeration fails to work in a footnote. \setupindenting[yes,small] \definelabel   [ID][ %\defineenumeration[ID][    text=,    after=,    before=,    headcolor=red,    alternative=inright,   ] \starttext \starttitle[title={Label

Re: [NTG-context] Draw a line under the headertext in ConTeXt except some pages

2017-08-24 Thread Fabrice Couvreur
Hi Pablo, Thank you so much ! Fabrice %\setupbackgrounds[header][text][bottomframe=on] \setuphead [chapter] [header=empty] \setupheader[text][after=\vskip 1pt \hrule] \starttext \starttitle[title={\bf My Book}] \stoptitle \placelist[chapter,section][alternative=c] \stoptext 2017-08

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-07 Thread Pablo Rodriguez
On 08/06/2017 11:08 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: > [...] > Challenges: > > 1. How can we get automatic indentation for all heads *except* the first > one that occurs after the \starttitle? Hi Idris, this should be the default (it is actually \setupheads[inde

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
arking[subsectionnumber][current] \hspace[big]}}]}] \setuphead[subsubsection] [commandafter={\setupparagraphintro[first] [{{\bf \getmarking[subsubsectionnumber][current] \hspace[big]}}]}] \starttext \starttitle[title=Paper] \dorec

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-06 Thread Idris Samawi Hamid ادريس سماوي حامد
e=text, insidesection=\hskip-1.2em] \setuphead[subsubsection] [style=\bf, after={\blank[big]}, before={\blank[big,medium]}, color=walayahgreen, alternative=text, insidesection=\hskip-1.2em] \define[1]\PARHEAD {{\bf{#1}}} \starttext \starttitle[title=Section 1] \startsection

Re: [NTG-context] methods for numbered paragraphs (ii)

2017-08-05 Thread Idris Samawi Hamid ادريس سماوي حامد
fine[1]\PARHEAD {{\bf{#1}}} \starttext \starttitle[title=Section 1] \startsection[title=Paragraph 1] \input ward \stopsection \startsection \PARHEAD{Paragraph 2.} \input ward \startparagraph \input ward \stopparagraph \startsubsection \input ward \startsubsubsection \input ward \stopsubsubs

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Willi Egger
no, >> alternative=inmargin] >> \setuphead >> [section] >> [ >> alternative=margintext, >> insidesection={\blank[-line]}, >> ] >> \starttext >> \starttitle >> [title={Problem description}] >> \bgroup

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Rik
\starttitle [title={Problem description}] \bgroup \setupwhitespace[medium] \startparagraph This demonstrates two problems with \type{alternative=margintext} in \tex{setuphead}: \startitemize[packed,n] \startitem

[NTG-context] Problems with headers using margintext alternative

2017-07-23 Thread Rik Kabel
] [ alternative=margintext, insidesection={\blank[-line]}, ] \starttext \starttitle [title={Problem description}] \bgroup \setupwhitespace[medium] \startparagraph This demonstrates two problems with \type{alternative=margintext} in \tex

Re: [NTG-context] \xmlfirst broken?

2017-07-17 Thread Hans Hagen
} \startxmlsetups xml:demo:document \starttitle[title={Contents}] \placelist[chapter] \stoptitle \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:demo:section \startchapter[title=\xmlfirst{#1}{/title}] \xmlfirst{#1}{/content} \stopchapter \stopxmlsetups \startxmlsetups xml:demo:p

[NTG-context] \xmlfirst broken?

2017-07-16 Thread Henri Menke
  another paragraph of text   And then we have a ConTeXt document: \startxmlsetups xml:demo:base   \xmlsetsetup{#1}{*}{-}   \xmlsetsetup{#1}{document|section|p}{xml:demo:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:document   \starttitle[title

  1   2   >